<?php
    require('./00_init.php');
    @$lid=$_REQUEST['lid'];
    $sql="UPDATE xz_laptop SET expire=1 WHERE lid=$lid";
    $request=mysqli_query($conn,$sql);
    if($request){
        if(mysqli_affected_rows($conn)){
            echo '{"code":1,"msg":"删除成功"}';
        }else{
            echo '{"code":0,"msg":"删除失败"}';
        }
    }else{
        echo '{"code":0,"msg":"服务器繁忙"}';
    }
 ?>